/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

/*
 * 版权所有(c)  1952110078@qq.com  2022 - 2022
 */

package com.ldc.module_main.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.ldc.commonlibs.ui.VMFragmentBase;
import com.ldc.commonlibs.utils.ViewModelUtil;
import com.ldc.module_main.databinding.MainFragmentHomeBinding;
import com.ldc.module_main.viewmodel.MainViewModel;


public class HomeFragment extends VMFragmentBase<MainFragmentHomeBinding, MainViewModel> {
    public static HomeFragment newInstance() {
        Bundle args = new Bundle();
        HomeFragment fragment = new HomeFragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    protected void main(@Nullable Bundle savedInstanceState) {
        initView();
    }

    @Override
    protected MainFragmentHomeBinding initViewBinding(@NonNull LayoutInflater inflater, @Nullable ViewGroup container) {
        return MainFragmentHomeBinding.inflate(inflater, container, false);
    }

    @Override
    protected MainViewModel initViewModel() {
        return ViewModelUtil.create(this, MainViewModel.class);
    }


    private void initView() {

    }
}